package com.haihui.platform.entity;

/*
 * 资源表
 */
public class Resource{

	private Long resId;//主键
	
	private String resName;//资源名称
	
	private String url;//链接
	
	private Long parentId;//父id
	
	private Integer start;
	
	private Integer length;

	public String getParentIds() {
		return parentIds;
	}

	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	private String parentIds;
	
	public Resource(){
		super();
	}

	public Resource(Long resId, String resName, String url, Long parentId) {
		super();
		this.resId = resId;
		this.resName = resName;
		this.url = url;
		this.parentId = parentId;
	}

	public Long getResId() {
		return resId;
	}

	public void setResId(Long resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getStart() {
		return start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}
	
}
